package com.opc.Controller;

import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.messaging.handler.annotation.SendTo;  
import org.springframework.stereotype.Controller;  

//@Controller
//public class NotificationController {
//
////    @MessageMapping("/notify") // 处理 /app/notify 消息
////    @SendTo("/topic/notifications") // 将消息发送到 /topic/notifications 主题
////    public String sendNotification(String message) {
////        return message; // 返回收到的消息
////    }
//}